/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.uc.domain.req;

import com.xy.lang.validation.UpdateChecks;
import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *
 *
 * @author zsp
 * @date 2020-8-19
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class LockUserRequest {

	/**
	 * 用户Id
	 */
	@NotNull(message = "userCode-required", groups = { UpdateChecks.class })
	private Long userId;
	/**
	 * 用户状态：0-正常 1-禁闭
	 */
	@NotNull
	private Integer status;

}
